.class Lcom/waiqin365/lightapp/kaoqin/co;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->d(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/cp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/cp;-><init>(Lcom/waiqin365/lightapp/kaoqin/co;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public a(Lcom/waiqin365/compons/c/f;)V
    .locals 7

    const/4 v5, 0x1

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->d(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    new-instance v1, Lcom/waiqin365/compons/c/f;

    invoke-direct {v1, p1}, Lcom/waiqin365/compons/c/f;-><init>(Lcom/waiqin365/compons/c/f;)V

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v4}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/compons/c/f;

    move-result-object v4

    invoke-virtual {v4}, Lcom/waiqin365/compons/c/f;->a()I

    move-result v4

    invoke-static {v0, v1, v2, v3, v4}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    new-instance v1, Lcom/baidu/mapapi/map/MyLocationData$Builder;

    invoke-direct {v1}, Lcom/baidu/mapapi/map/MyLocationData$Builder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v2

    double-to-float v2, v2

    invoke-virtual {v1, v2}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->accuracy(F)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v1

    const/high16 v2, 0x42c80000    # 100.0f

    invoke-virtual {v1, v2}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->direction(F)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v1

    aget-wide v2, v0, v6

    invoke-virtual {v1, v2, v3}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->latitude(D)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v1

    aget-wide v2, v0, v5

    invoke-virtual {v1, v2, v3}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->longitude(D)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->build()Lcom/baidu/mapapi/map/MyLocationData;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->f(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationData(Lcom/baidu/mapapi/map/MyLocationData;)V

    new-instance v1, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v2, v0, v6

    aget-wide v4, v0, v5

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-static {v1}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->f(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->g(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/co;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->h(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void
.end method
